﻿namespace Tuxedo.Compile
{
	internal class TernaryExpression : Expression
	{
		public Expression Condition { get; private set; }
		public Expression IfTrue { get; private set; }
		public Expression IfFalse { get; private set; }

		public TernaryExpression(Expression condition, Expression ifTrue, Expression ifFalse)
		{
			this.Condition = condition;
			this.IfTrue = ifTrue;
			this.IfFalse = ifFalse;
		}
	}
}
